package exc;

public class TryCatchDemo {
    public static void main(String[] args) {
        try {

        }catch (NullPointerException|StringIndexOutOfBoundsException e){
            System.out.printf("Two Exception sum");
        }
        catch (Exception e){
            System.out.printf("Ok");
        }
    }
}
